import compressing from 'compressing';

// 压缩
export function dirToTar(path: string, targetPath: string) {
  return compressing.zip.compressDir(path, targetPath)
}
// 解压
export function tarToDir(path: string, targetPath: string) {
  return compressing.zip.uncompress(path, targetPath)
}